package pl.com.like.sequoia.biojava.fasta.impl;

import java.util.List;

import pl.com.like.sequoia.biojava.fasta.IFastaService;
import pl.com.like.sequoia.biojava.util.impl.ConnectService;
import pl.com.like.sequoia.exceptions.LogicalException;
import pl.com.like.sequoia.model.bio.BioObjectHandler;
import pl.com.like.sequoia.model.bio.enums.FileTypeEnum;

@Deprecated
public class FastaService extends ConnectService implements IFastaService {

	private final FileTypeEnum type = FileTypeEnum.FASTA;

	/**
	 * {@inheritDoc}
	 */
	public BioObjectHandler getObject(String idObject) throws LogicalException {
		return getConnectionHelper().getObject(idObject, getType());
	}

	@Override
	protected FileTypeEnum getType() {
		return type;
	}

	@Override
	public void completeOptionals(BioObjectHandler bio) throws LogicalException {
		// TODO Auto-generated method stub
		throw new UnsupportedOperationException("Method 'completeOptionals' is not implemented!");
	}

	public List<BioObjectHandler> getSearchList(String idObject, Integer size, Boolean extendedSearch) {
		// TODO Auto-generated method stub
		throw new UnsupportedOperationException("Method 'getSearchList' is not implemented!");
	}

}
